package com.pkuse.bjousystem.dto.school;

import org.apache.commons.lang3.StringUtils;

public class GraduationRegistryStudentsDetailDTO {
    //学号
    private String xh;
    //姓名
    private String xm;
    //班级名称
    private String bmc;
    //入学时间
    private String rxsj;
    //毕业时间
    private String bysj;
    //专业名称
    private String zymc;
    //学生类别
    private String xslbmc;
    //电子注册号
    private String dzzczh;
    //电话
    private String dh;

    public GraduationRegistryStudentsDetailDTO(String xh, String xm, String bmc, String rxnd, String rxxq, String bynd, String byxq, String zymc, String xslbmc, String dzzczh, String brlxdh, String yddh) {
        this.xh = xh;
        this.xm = xm;
        this.bmc = bmc;
        this.rxsj = rxnd + rxxq;
        this.bysj = StringUtils.trimToEmpty(bynd) + StringUtils.trimToEmpty(byxq);
        this.zymc = zymc;
        this.xslbmc = xslbmc;
        this.dzzczh = StringUtils.trimToEmpty(dzzczh);
        this.dh = StringUtils.isNotEmpty(yddh) ? yddh : (StringUtils.isNotEmpty(brlxdh) ? brlxdh : "");
    }

    public String getXh() {
        return xh;
    }

    public String getXm() {
        return xm;
    }

    public String getRxsj() {
        return rxsj;
    }

    public String getBysj() {
        return bysj;
    }

    public String getZymc() {
        return zymc;
    }

    public String getXslbmc() {
        return xslbmc;
    }

    public String getDzzczh() {
        return dzzczh;
    }

    public String getDh() {
        return dh;
    }

	public String getBmc() {
		return bmc;
	}
    
}
